Public Class UrlBuilder
    Public Shared Function GetMUKDetailUrl(ByVal id As Integer, ByVal ids As String, ByVal refreshParent As Boolean, ByVal isChanged As Boolean, ByVal officeID As Integer) As String
        Return String.Format("~/Offices/MUKDetail.aspx?oid={4}&id={0}&ids={1}&rp={2}&changed={3}", id, ids, Convert.ToInt32(refreshParent), Convert.ToInt32(isChanged), officeID)
    End Function

    Public Shared Function GetMUKDetailUrlForAddNewMode(ByVal req As Integer, ByVal isChanged As Boolean, ByVal officeID As Integer) As String
        Return String.Format("~/Offices/MUKDetail.aspx?oid={0}&req={1}&changed={2}", officeID, req, Convert.ToInt32(isChanged))
    End Function

    Public Shared Function GetBODetailUrl(ByVal supplierCode As String, ByVal bulkOrderID As Integer, ByVal ids As String, ByVal refreshParent As Boolean, ByVal isChanged As Boolean, ByVal tabID As Integer) As String
        Return String.Format("~/Offices/BODetail.aspx?sup={4}&id={0}&ids={1}&rp={2}&changed={3}&tabid={5}", bulkOrderID, ids, Convert.ToInt32(refreshParent), Convert.ToInt32(isChanged), supplierCode, tabID)
    End Function

    Public Shared Function GetBOListUrl(ByVal supplierCode As String, ByVal type As Integer) As String
        Return String.Format("~/Offices/BulkOrderList.aspx?sup={0}&botype={1}", supplierCode, type)
    End Function
End Class
